<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>固定资产投资</title>
    <link rel="stylesheet" href="/index/css/bootstrap.css">
    <link rel="stylesheet" href="/index/css/Reset.css">
    <!-- 页面css -->
    <link rel="stylesheet" href="/index/css/indicators/indicators.css">
</head>

<body>
<div class="row no-margin">
    <div class="col-xs-12 ">
        <!-- 各县区排名 -->
        <div id="county-ranking"></div>
    </div>
</div>
<div class="row no-margin">
    <div class="col-xs-12 " style="position:relative;">
        <!-- 增长率 完成情况 -->
        <div id="finish-situation"></div>
        <div class="dashboard-data">市目标: <em></em> % </div>
        <div class="dashboard-data">市目标: <em></em> % </div>
    </div>
</div>
<div class="row no-margin">
    <div class="col-xs-12 ">
        <!-- 累计完成值和同比增长情况-->
        <div id="finish-value"></div>
    </div>
</div>
<!-- 预警 -->
<div class="row no-margin  legend1">
    <div class="col-xs-12 ">
        <div class="indicators-legend">
            <span class="legend-1"></span> 完成数 &nbsp;&nbsp;&nbsp; <span class="legend-2"></span> 计划数
            &nbsp;&nbsp;&nbsp; <span class="legend-3"></span> 完成率 &nbsp;&nbsp;&nbsp;
        </div>
        <!-- 乡镇50万元以上投资-->
        <div id="villages-assets"></div>
    </div>
</div>
<div class="row no-margin  legend2">
    <div class="col-xs-12 ">
        <div class="indicators-legend">
            <span class="legend-1"></span> 完成数 &nbsp;&nbsp;&nbsp; <span class="legend-2"></span> 计划数
            &nbsp;&nbsp;&nbsp; <span class="legend-3"></span> 完成率 &nbsp;&nbsp;&nbsp;
        </div>
        <!-- 十大部门累计完成情况-->
        <div id="departmente"></div>
    </div>
</div>

<script src="js/jquery.min.js"></script>
<script src="js/echarts.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- 本页面js -->
<script src="js/indicators/indicators.js"></script>
<script>
    $(function () {
        basicCharts("A07");

        $.ajax({
            url: "/index/indicators/queryCompletionClassification",
            type: "POST",
            dataType: "json", //返回数据形式为json
            contentType: 'application/json;charset=UTF-8',
            data: JSON.stringify({"area":"永泰县","industryId":"A07","bm":"部门"}),
            success: function (res) {
                var item = res.data;
                if (res.data == undefined) {
                    $(".legend2").css("display", "none");//无值就隐藏图表
                }
                if (res.code == "200") {
                    warning("departmente",item);

                }
            }
        });


        $.ajax({
            url: "/index/indicators/queryCompletionClassification",
            type: "POST",
            dataType: "json", //返回数据形式为json
            contentType: 'application/json;charset=UTF-8',
            data: JSON.stringify({"area":"永泰县","industryId":"A07","bm":"乡镇"}),
            success: function (res) {
                var item = res.data;
                if (res.data == undefined) {
                    $(".legend1").css("display", "none");//无值就隐藏图表
                }
                if (res.code == "200") {
                    warning("villages-assets",item);

                }
            }
        });

    });


</script>
</body>

</html>
